<template>
  <div class="common-layout">
    <el-header class="app_header">
      <div class="app_title">Study</div>
      <Tab></Tab>
    </el-header>
    <el-container>
      <el-aside class="app_aside">
        <Menu></Menu>
      </el-aside>
      <el-container>
        <el-main class="app_main">
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import Menu from "./components/Menu.vue";
import Tab from "./components/Tab.vue";
export default defineComponent({
  name: "App",
  components: {
    Menu,
    Tab,
  },
  setup() {
    return {};
  },
});
</script>

<style lang="less">
@import "./less/app.less";
</style>
